@font-face {
    font-family: 'PingFangSC';
    src: url('//assets/common/layui/font/PingFangSCRegular.ttf'); //你的资源目录
font-weight: normal;
    font-style: normal;
}

html,body { font-family: PingFangSC, sans-serif; }